package cky_interface;

import java.util.*;
import cky_interface.MainFrame;


class MainFrameTimerTask extends TimerTask {
	MainFrame mFrame;
	public void run() {
		if (this.mFrame.tab.totalOrderIndex < this.mFrame. tab.phraseList.size()){
			this.mFrame.NextBtnPerformed();
		}
		else{
			this.mFrame.StopBtnPerformed();
		}
		System.gc();
	}
	public MainFrameTimerTask(MainFrame _mFrame){
		this.mFrame = _mFrame;
	}
}

